<?php

declare(strict_types=1);

use Hyperf\HttpServer\Router\Router;

// Router::addRoute(['GET', 'POST', 'HEAD'], '/', 'App\Controller\IndexController@index');

Router::get('/favicon.ico', function () {
    return '';
});

// Router::addServer('ws', function () {
//     Router::get('/', 'App\Controller\Laboratory\Ws\WebsocketController', [
//         'middleware' => [WsMiddleware::class]
//     ]);
// });